﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gurucore.Framework.DataAccess.Persistence.QueryLanguage
{
	public class SubQueryOperand : SetOperand
	{
		private string m_sQuery;

		public SubQueryOperand(string p_sQuery)
		{
			m_sQuery = p_sQuery;
		}

		public override string ToExpressionString(IExpressionMaker p_oExpressionMaker)
		{
			return "(" + m_sQuery + ")";
		}
	}
}
